<me:UIVAF x:Class="WPFExcelReport.TNOVA10"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:VA="clr-namespace:WPFExcelReport;assembly=TVAART" 
                    xmlns:VAK="clr-namespace:WPFExcelReport;assembly=TVAKOLL" 
                    xmlns:WF="clr-namespace:WPFExcelReport;assembly=TWAFARBEN" 
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVAF.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVAF.Resources>
    <WrapPanel Grid.Row="0">
         <Grid Margin="10,0,0,0" VerticalAlignment="Top">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=季节:}}"></TextBlock>
            <TextBlock  Grid.Column="1"  Text="{Binding KOLL,ElementName=TV}" Width="60"  />
        </Grid>
        <Grid Margin="10,0,0,0" VerticalAlignment="Top">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=品种:}}"></TextBlock>
            <TextBlock  Grid.Column="1"  Text="{Binding ART,ElementName=TV}" Width="80"  />
        </Grid>
        <Grid Margin="10,0,0,0" VerticalAlignment="Top">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=色号:}}"></TextBlock>
            <TextBlock   Grid.Column="1"  Text="{Binding FARBE,ElementName=TV}" Width="40"  />
        </Grid>
        <Grid Margin="10,0,0,0" VerticalAlignment="Top">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=说明:}}"></TextBlock>
            <ex:TXT72 MaxLength="20"   Grid.Column="1"  Text="{Binding DES,ElementName=TV,Converter={StaticResource gb2312}}" 
                      Width="200"  />
        </Grid>
         
            <Button   Click="NewCommand" Height="20" Margin="5,0,0,0" Width="Auto"  Content="{Binding Source={Localization:Translate Word=创建}}"/>
        
        <VAK:TNOVAK ORDERNUM="{Binding KEY,ElementName=TV}"
                    Visibility="Collapsed"/>
        <VA:TNOFVA ORDERNUM="{Binding KEY,ElementName=TV}" 
                   DES="{Binding DES,ElementName=TV}"  
                   Visibility="Collapsed"/>
        <WF:TNOWS07 EXAUF="{Binding EXAUF,ElementName=TV}" 
                    Visibility="Collapsed"/>
    </WrapPanel>
</me:UIVAF>
